#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QMessageBox>
#include <QTableView>
#include <QHBoxLayout>
#include <QtGui>
#include <QString>
#include <QTextCodec>
#include <QSqlDatabase>
#include <QtSql>
#include "base.h"
#include "import.h"
#include "query.h"
#include "dbconfig.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
	Q_OBJECT

public:
	explicit MainWindow(QWidget *parent = 0);
	~MainWindow();

private:
	Ui::MainWindow *ui;
	importForm* m_importForm;
	queryForm* m_queryForm;
	dbconfigForm* m_dbconfigForm;

private slots:
	void on_actionImportData_triggered();
	void on_actionQueryData_triggered();
	void on_actionDbConfig_triggered();
};

#endif // MAINWINDOW_H
